<?php
namespace app\controllers;

use fastphp\base\Controller;

class ErrorController extends Controller
{
    public function index()
    {
        $this->assign('title', '错误');
        $this->assign('uri', @$_GET['uri']);
        $this->assign('code', @$_GET['code']);
        $this->assign('message', @$_GET['message']);
        $this->render();
    }
}